package com.gientech.customercenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_customer")
public class Customer {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 客户姓名
     */
    private String name;

    /**
     * 客户年龄
     */
    private int age;

    /**
     * 身份证号码
     */
    private String idNumber;

    /**
     * 手机号码
     */
    private String mobile;

    /**
     * 性别
     */
    private String sex;

    /**
     * 职业
     */
    private String occupation;

    /**
     * 家庭住址
     */
    private String homeAddress;

    /**
     * 创建时间
     */
    private Date createTime;
}
